package com.yupi.springbootinit.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.yupi.springbootinit.mapper.UserMapper;
import com.yupi.springbootinit.model.entity.User;
import com.yupi.springbootinit.model.vo.LoginUserVO;
import com.yupi.springbootinit.service.ChartService;
import com.yupi.springbootinit.service.UserService;

import javax.annotation.Resource;
import javax.jws.soap.SOAPBinding;
import java.util.List;

/**
 * @Author xingyu Xue
 * @Date 2023/12/6 22:17
 */
public class UserManagerServiceimpl {

    @Resource
    private UserMapper userMapper;

    @Resource
    private   UserServiceImpl userServiceimpl;

    @Resource
    private UserService userService;


    @Resource
    ChartService chartService;

    /**
     * 查询所有用户信息
     */
    public void seleceAllUserInfo() {
        List<User> users = userMapper.selectList(new QueryWrapper<>(new User()));
//        List<User> users = userMapper.selectList(null);
        users.forEach(System.out::println);
    }
}
